import request from '@/utils/request'

// 查询模特基础信息列表
export function listAimodel(query) {
  return request({
    url: '/system/aimodel/list',
    method: 'get',
    params: query
  })
}

// 查询模特基础信息详细
export function getAimodel(id) {
  return request({
    url: '/system/aimodel/' + id,
    method: 'get'
  })
}

// 新增模特基础信息
export function addAimodel(data) {
  return request({
    url: '/system/aimodel',
    method: 'post',
    data: data
  })
}

// 修改模特基础信息
export function updateAimodel(data) {
  return request({
    url: '/system/aimodel',
    method: 'put',
    data: data
  })
}

// 删除模特基础信息
export function delAimodel(id) {
  return request({
    url: '/system/aimodel/' + id,
    method: 'delete'
  })
}
